package com.fly.system.model;

import com.fly.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @CLASSNAME: SysUserModel
 * @author: Fly
 * 日期: 2020/6/7  15:59
 * 描述:用户角色对应实体
 **/

@Table(name = "sys_user_role")
public class SysUserRoleModel extends BaseModel {
    /**
	 * 
	 */
	private static final long serialVersionUID = 6033700981665724626L;

    //用户id
    @Column(name = "user_id")
    private Long userId;
    //角色id
    @Column(name = "role_id")
    private Long roleId;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
